﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SecEnd.aspx.cs" Inherits="Webcar.Sec.SecEnd" %>

<%@ Register Src="../Controls/NaviBar.ascx" TagName="NaviBar" TagPrefix="uc1" %>

<%@ Register Assembly="WebPager" Namespace="Zw.Control" TagPrefix="cc1" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title>事故结案</title>
</head>
<body>
    <form id="form1" runat="server">
    <div id = "sec_end"  class="div_taobao">
        <div class="sec_end_navi"> <uc1:NaviBar ID="NaviBar1" runat="server" /></div>
        <div id = "S1">
            
            <hr class="line_blue" />
            <div class = "endpanel">
                <ul>
                    <li>
                    <div>*结案时间:&nbsp;</div><cc1:calendar id="dtEntDate" Width="120px" runat="server"></cc1:calendar>
                    
                        &nbsp;&nbsp;赔偿系数：<asp:TextBox ID="tbXs" Width="72px" runat="server"  Enabled ="true"></asp:TextBox>
                    </li>
                    <li><div>
                        保险单号:&nbsp;</div>
                        <asp:DropDownList ID="ddlInsureNo" Width="275px" runat="server">
                        </asp:DropDownList>
                    </li>
                    
                    <li><div>我方伤者:&nbsp;</div><asp:TextBox ID="tbOwnInjury" runat="server" Rows="2" TextMode="MultiLine" Enabled ="true"></asp:TextBox></li>
                    <li><div>第三方伤者:&nbsp;</div><asp:TextBox ID="tbThirdInjury" runat="server" Rows="2" TextMode="MultiLine" ></asp:TextBox></li>
                    <li><div>我方情况登记:&nbsp;</div><asp:TextBox ID="tbOwnStatus" runat="server" Rows="4" TextMode="MultiLine" Enabled ="true"></asp:TextBox></li>
                    <li><div>第三方情况登记:&nbsp;</div><asp:TextBox ID="tbThirdStatus" runat="server" Rows="4" TextMode="MultiLine" ></asp:TextBox></li>
                    <li><div>请付单位:&nbsp;</div><asp:TextBox ID="tbPayDept" runat="server" Enabled ="true"></asp:TextBox></li>
                    <li><div>赔偿事宜:&nbsp;</div><asp:TextBox ID="tbPayCause" runat="server"  Rows="2" TextMode="MultiLine"></asp:TextBox></li>
                    
                    <li><div>开户行:&nbsp;</div><asp:TextBox ID="tbBank" runat="server" Enabled ="true"></asp:TextBox></li>
                    <li><div>帐号:&nbsp;</div><asp:TextBox ID="tbAccount" Width="130px" runat="server" Enabled ="true"></asp:TextBox>
                    实际赔付金额:&nbsp;<asp:TextBox ID="tbFactMoney" Width="50px" runat="server" Enabled ="true"></asp:TextBox>
                    </li>
                    
                </ul>
            </div> 
            
                    
            <div class = "ownpay">
                <div class="div_blue header">我方赔偿明细</div>
                    <asp:GridView ID="gvOwn" ShowHeader="false" runat="server"  AutoGenerateColumns="False" SkinID="gridviewSkin" Width="100%" GridLines="Horizontal">
                        <Columns>
                            <asp:TemplateField HeaderText="费用项目名称">
                                <ItemTemplate>
                                    <asp:TextBox ID="tbFeeName" Width="96%" runat="server" Text='<%# Bind("fee_name") %>'></asp:TextBox>
                                </ItemTemplate>
                                <ItemStyle Width="65%" />
                                <HeaderStyle Width="65%" />
                                
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="金额">
                                <ItemTemplate>
                                    <asp:TextBox ID="tbRealMoney" runat="server" width="87%" Text='<%# Bind("real_money") %>'></asp:TextBox>
                                </ItemTemplate>
                                
                            </asp:TemplateField>
                        </Columns>
                    </asp:GridView>
                    <div class="sum">
                        <asp:Label ID="Label1" Visible = "false" runat="server" Text="Label"></asp:Label>
                    </div>
                </div>  
            <div style="float:left;width:10px"></div>
            
            <div class = "ownpay">
                <div class="div_blue header">第三方赔偿明细</div>
                    <asp:GridView ID="gvThird" ShowHeader="false" runat="server"  AutoGenerateColumns="False" SkinID="gridviewSkin" Width="100%" GridLines="Horizontal">
                        <Columns>
                            <asp:TemplateField HeaderText="费用项目名称">
                                <ItemTemplate>
                                    <asp:TextBox ID="tbFeeName" Width="96%" runat="server" Text='<%# Bind("fee_name") %>'></asp:TextBox>
                                </ItemTemplate>
                                <ItemStyle Width="65%" />
                                <HeaderStyle Width="65%" />
                                
                            </asp:TemplateField>
                            <asp:TemplateField HeaderText="金额">
                                <ItemTemplate>
                                    <asp:TextBox ID="tbRealMoney" runat="server" width="87%" Text='<%# Bind("real_money") %>'></asp:TextBox>
                                </ItemTemplate>
                                
                            </asp:TemplateField>
                        </Columns>
                    </asp:GridView>
                    <div class="sum">
                        双方合计：<asp:Label ID="Label2" runat="server" Text="Label"></asp:Label>
                        <asp:LinkButton ID="LinkButton1" runat="server" OnClick="LinkButton1_Click">预览合计</asp:LinkButton>
                    </div>
                </div>  
        </div>
        <hr class="line_blue" />
        <div class="footer">
            <div class="error"><asp:Label ID="lblError" runat="server" Text=""></asp:Label></div>
            
            <asp:Button ID="btnSave" runat="server" Text="保存数据" SkinID="default_button" Width="60px" OnClick="btnSave_Click" UseSubmitBehavior="false"  />
            <asp:Button ID="Button1" runat="server" Text="返回" SkinID="default_button" Width="60px" OnClick="Button1_Click" UseSubmitBehavior="false"/>
        </div>
    
    </div>
    </form>
</body>
</html>
